import { Module } from '@nestjs/common';
import { CarService } from './car.service';
import { CarController } from './car.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Car } from 'src/module/admin/car/entities/car.entity';
import { CarPhoto } from 'src/module/admin/car_photo/entities/car_photo.entity';
import { User } from 'src/module/admin/user/entities/user.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Car, CarPhoto, User])],
  controllers: [CarController],
  providers: [CarService],
})
export class CarModule {}
